package com.decorator.demo1;

/**
 * Component是定义一个对象接口，可以给这些对象动态的添加职责
 *
 * @author Administrator
 *
 */
public class Person {

	private String name;

	public Person() {

	}

	public Person(String name) {
		this.name = name;
	}

	public void show() {
		System.out.println("装扮的" + name);
	}

}
